package com.study.springcloudconfigservice.config;

/**
 * @description:
 * @author: ljr
 * @time 2021/3/29 15:24
 */
public class SystemConfigTest {

    public static void main(String[] args) {
        String aaa = System.getenv("JAVA_HOME");
        System.out.println(aaa);

        String bbb = System.getProperty("user.dir");
        System.out.println(bbb);

        int num = Integer.getInteger("user.age",18);
        System.out.println(num);
        //Integer.getInteger()

    }

}
